# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: psykose <alice@ayaya.dev>
pkgname=font-mononoki
pkgver=1.3
pkgrel=1
pkgdesc="Mononoki - font for programming and code review"
url="https://madmalik.github.io/mononoki/"
arch="noarch"
license="OFL-1.1"
depends="fontconfig mkfontscale"
source="mononoki-$pkgver.tar.gz::https://github.com/madmalik/mononoki/archive/$pkgver.tar.gz"
builddir="$srcdir/mononoki-$pkgver"
options="!check" # is a font

# backwards compat
provides="ttf-mononoki=$pkgver-r$pkgrel"
replaces="ttf-mononoki"

package() {
	install -Dm644 export/*.ttf -t "$pkgdir"/usr/share/fonts/${pkgname#font-}
}

sha512sums="
cf3cb3a3402360369e35d328840ee11ab21f7a1cd5d12ec5ff709eb8daccfcf614c17565b9de888f5140d1d1a0f11abff5f156b1425f66878315bd380cdb0730  mononoki-1.3.tar.gz
"
